using System.Collections.Generic;
using System.Windows.Controls;

namespace Silvery
{
    /// <summary>
    /// 物体组的接口
    /// </summary>
    public interface IBaseObjCollection
    {
        /// <summary>
        /// 添加一个基本物体
        /// </summary>
        /// <param name="obj"></param>
        void AddBaseObj(BaseObject obj);
        /// <summary>
        /// 移除一个基本物体
        /// </summary>
        /// <param name="obj"></param>
        void RemoveBaseObj(BaseObject obj);
        /// <summary>
        /// 物体总数
        /// </summary>
        int BaseObjectsCount { get; }
        /// <summary>
        /// 子物体组件类
        /// </summary>
        UIElementCollection GameObjects { get; }
    }
}
